package com.fuxue.vo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.ArrayList;
import java.util.List;

@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
@ApiModel(description = "服务登录返回的数据格式")
public class ServerLoginVO {
    @ApiModelProperty("主键值")
    private Integer  serverId;

    @ApiModelProperty("用户名")
    private String serverName;

    @ApiModelProperty("头像")
    private String avatar;

    @ApiModelProperty("领域")
    private List<String> filed = new ArrayList<String>();

    @ApiModelProperty("jwt令牌")
    private String token;
}
